<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/10/22
  Time: 17:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>Test Aware Action</h1>
    <br>
    application : ${applicationScope.date}
    <%
        if (application.getAttribute("date") == null)
            application.setAttribute("date",new Date());
    %>
    <br>
    session : ${sessionScope.sessionKey}


    <div>
        <a href="Aware-save.action">save session</a>
        <a href="Aware-invalidate.action">invalidate session</a>
    </div>
</body>
</html>
